import request from '@/utils/request'

// 查询军队无军籍离休退休退职职工信息列表
export function listRetired_no_military(query) {
  return request({
    url: '/archive_info/retired_no_military/list',
    method: 'get',
    params: query
  })
}

// 查询军队无军籍离休退休退职职工信息详细
export function getRetired_no_military(id) {
  return request({
    url: '/archive_info/retired_no_military/' + id,
    method: 'get'
  })
}

// 新增军队无军籍离休退休退职职工信息
export function addRetired_no_military(data) {
  return request({
    url: '/archive_info/retired_no_military',
    method: 'post',
    data: data
  })
}

// 修改军队无军籍离休退休退职职工信息
export function updateRetired_no_military(data) {
  return request({
    url: '/archive_info/retired_no_military',
    method: 'put',
    data: data
  })
}

// 删除军队无军籍离休退休退职职工信息
export function delRetired_no_military(id) {
  return request({
    url: '/archive_info/retired_no_military/' + id,
    method: 'delete'
  })
}

// 导出军队无军籍离休退休退职职工信息
export function exportRetired_no_military(query) {
  return request({
    url: '/archive_info/retired_no_military/export',
    method: 'get',
    params: query
  })
}